package Work0513;

public class PliotTest {

	public static void main(String[] args) {
		Pilot test = new Pilot("熊大");
		Airplane a = new Airliner("波音747", 200, 30, 120);
		test.drive(a);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
		Airplane b = new Fighter("歼-50", 10, 50, 30);
		test.drive(b);
	}
}
